package com.tiamo.traders.mapper;

import com.tiamo.traders.entity.Business;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BusinessMapper {

    List<Business> businessFindAll(Business business);

    Integer businessGetCount(Business business);

    Integer businessAdd(Business business);

    Integer businessDelete(Integer id);

    Integer businessUpdate(Business business);

    Business businessFindById(Integer id);
}
